package cn.bdqn.service.impl;

import javax.annotation.Resource;

import org.apache.ibatis.annotations.Result;
import org.springframework.stereotype.Service;

import cn.bdqn.mapper.UserMapper;
import cn.bdqn.pojo.User;
import cn.bdqn.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Resource
	private UserMapper userMapper;
	
	@Override
	public User get(String userCode) {
		return userMapper.getByUserCode(userCode);
	}

}
